package com.management.department.teacherinfosystem.DTO;

import lombok.Data;
import java.util.Date;
import java.util.List;

@Data
public class AcademicAchievementDTO {
    private Long id;
    private String title;
    private String type;
    private String language;
    private String keywords;
    private String journalConference;
    private Integer publicationYear;
    private Integer publicationMonth;
    private String doi;
    private String journalLevel;
    private String conferenceLevel;
    private String status;
    private String reviewOpinion;
    private Long reviewerId;
    private Date reviewTime;
    private Long createdBy;
    private Date createdAt;
    private Date updatedAt;
    
    // 作者信息
    private List<AcademicAuthorDTO> authors;
    
    // 附件信息
    private List<AcademicAttachmentDTO> attachments;
    
                @Data
            public static class AcademicAuthorDTO {
                private Long id;
                private String authorName;
                private String authorUnit;
                private String authorOrder;
                private Boolean isCurrentUnit;
                private String staffNo;
                private Boolean isCurrentDepartment; // 是否本系
                private Date createdAt;
            }
    
    @Data
    public static class AcademicAttachmentDTO {
        private Long id;
        private String fileName;
        private String fileUrl;
        private String fileType;
        private Long fileSize;
        private Date createdAt;
    }
}
